Upgraded to rspec 3.0 and made tests run faster.
Use more modern features of Redis to implement better atomic locking operations.