Testing

Added controller tests and webmock for testing api requests.
Can this file be removed, or the code be removed? As it is all commented, and I saw that there are tests for the controller file under the test/controllers dir.