changed testJoinTest to testJoinAndLeave test because the structures of both as separate tests are very similar.