Updated unit tests to support new invitation system.