added test for lobby state machine on server side