Added basic RSpec tests.