Support rspec 3.1 or above

Support Rspec 3.1 and remove 2.x from support