added declare vars scanner test 20 tests passing