Added unit testing framework for API requests