test for undefined variable