@Test
public void testInitiationProblem() throws Exception {
Member member = createMember("John");
prevayler.execute(new NameChange(member, "John S"));
assertEquals("John S", member.name());
prevayler.execute(new NameChangeWithProblem(member, "John Smith"));
assertEquals("John S", member.name()); //The name change did not work because transactions are serialized and deserialized by Prevayler, producing a deep clone. The person object in the transaction is no longer the object we passed in but a clone!