Add integration tests for all endpoints.
There is currently only one endpoint being tested during integration testing stage, yet there are 5 endpoints.
Updated `api_test.go` with new tests.