test for user can join a league