Wrote tests for EntityManager, made some methods invisible to the outside world that are public but aren't intended to be used