Integration test for INSERTs