lexical, syntax tests for vars