Added unit test for basic API implementation, storing results in mongo