Construction of Special Solutions of Nonintegrable Systems with the Help of the Painleve Test