Adding RSpec tests