Added test for Parser#getKey with function strings containing a map of vars