Implemented passing the visitor into the parse match result
Added constructor tests around MatchResult
Added a test around the match result interacting with the grammar parser visitor when hasMatch is called.