Add tests for redeem invite feature