Add a check for -Q in compiler argument tests. Closes #682.