fixed the UT's to properly test the grammars. The grammars were failing the test earlier because we were feeding them invalid/unexpected input that they aren't supposed to be able to parse.
Changed the metadata parser to uppercase the tags it parses