Added test cases for Invitation model