Add tests for functions in functions.go.
#454
+23
−1
Open
functions.go.
#454