Add test for entity mapping - should update in database.