add UT to ToscaParserImpl and fix little bug