RSpec 3

Update specs and spec_helper configuration to support rspec3 and avoid deprecated features