Setup log revision correctly creates new entity manager instance