Updated RSpec tests