test local variables