Some RSpec tests added.