Added test for getUndeclaredVariables() method