add a test for jsonpath template parsing to prevent regressions
add a test for jsonpath template parsing to prevent regressions

This behaviour was broken by commit
39cfe232325d66bcdbc935af7aaf7022562e7010 and PR kubernetes#98057

Kubernetes-commit: b79859cb12b19222fffc17481e1fe006819de63c

kubernetes/client-go