Adding a test which verifies whether endpoint output is json
Adding a test which verifies whether endpoint output is json
Finished adding a test which verifies whether some endpoints provide JSON output. Fixed the bug as well.