Testing

Added controller tests and webmock for testing api requests.