Added RSpec test