added more tests for the parser base class