Update invitation_test.rb

Added a relationship test case for invitation