Issue #25: now verifying entity manager factory prior to each call