Added test for Parser::GetType()