Some remarks on Painlevé test and integrability