Tests for the delegating entity manager.