test insert query