Fixed RSpec tests

Running `rspec` caused tons of warnings. This simply replaces `mock` with `double` and `stub!` with `stub`. `request_body` has been introduced to simulate real request data.

Also made tests green by fixing unavailable `try` method.