adding RSpec tests.