Fixed quoting of test SQL