Added some rspec tests and factories. Not great but something