tests for quoted variables and functions