duplicate, use EntityServletTestHelper