Added initial RSpec tests