Writing Unit Tests for JSON Functions in Go