Added initial rspec tests