add spec for open-partial-template
fix bug that open-partial-template can't work when partialname is enclosed in parentheses