Again a 'do assert do assert'. Should be split up in 2 tests, one with asserts before commiting (and do not commit.. it is just the end of the test). And the other test does the commit (no asserts before commit) and then asserts that all changes are made.