wifidl: replace test by case