Added test "A can be persisted when B was persisted in the same transaction before".