Added unit-test for Parser::parse()