create entity manager for test
remove sleep