Added basic test of RESTful endpoint using supertest.