Hmm, I think I'd prefer tests that actually test the return value of user_invite(), even if it's the same as group_member_create(). All you're testing here is that `group_member_create()` is called, that doesn't mean `user_invite()` returned the expected value.