Updated RSpec test