rspec for relationships testing