Fixed RSpec deprecation warning

Running `rspec` caused tons of warnings. This simply replaces `mock` with `double` and `stub!` with `stub`. Also `request_body` has been introduced to simulate real request data.

Warning! Tests still don't pass, this commit just removes deprecation warnings.