Added InvokeParserTest, add more cases to invoke template test