added tests to verify it parameters are being set accurately for a select query