Added test to simulate insert with generatedValues