Added Mocha-powered tests to validate API response.