Converted old-style specs to new-style RSpec