Added new tests to entitiy manager. Increased code coverage to 10.0%