RSpec tests added