Fixed test_particlesclasses.py file for travis-ci support.