Added tests for routes with supertest.