fix test after device detector 2.4 upgrade