Testing queue management