A test of the nature of the cosmic acceleration using galaxies redshift distortions