fixed all management tests