Upgraded Rspec; Corrected depreciated test syntax