I have been working with ARM templates for a little while and have found it really annoying to test functions inside the templates, you see if you have an ARM template it is a JSON document made up of lots of key/values like:
{"name": "a_name"}
but it is slightly more complicated because there is a set of functions in a javascript like language you can use in the values so you might have: