Migrate tests from legacy armet for query parser.