Began writing JSON unit tests