added tests from old test_parser.lua