Adding test case for the custom entities when using the JPA store.