Lock 2.14 rspec and use mock instead of double for mocking.

In rspec 2.14 is mock deprecated and will be removed in rspec 3.0.
Merge pull request #21 from simi/rspec214

Lock 2.14 rspec and use mock instead of double for mocking.