Add Rspec tests for managing shares