Cleaned, improved and fixed tests on entities
Merge pull request #9 from melmothx/master

Fixed the tests script for entities.