Adding RSpec tests.