fix test_data.sql not failing inserting the last batch id