Integrity error tests

This ensures that the above code is run for both requests before either of them have committed.