Testing

Added controller tests and webmock for testing api requests.
Looking at this I just thought that we probably can upgrade to Ruby 2.0.