Added tests to the entity manager and updated the readme