Test to verify behavior of Database.insert.