Create new test illustrating detach and merge functionality on EntityManager