Add test for entity mapping - should remove from persistence context and delete from database.