Add two RSpec unit tests