Update invitation_test.rb

Added scope tests