added some RSpec tests, per the lab