corrected insert test