fixed broken tests. updated to rspec3 syntax