Merge "Use response from calls to insertRecords in tests" into main