Refactored tests.
Tests refactored
Now supported Doctrine ~2.3 and PHP >= 5.5.0