added lobby code on client side and fixed silly test dependency