Modification of the Painlevé test for systems of nonlinear partial differential equations