Moved relevant tests from entity manager classes to new client classes.