Improve USB mode selector unit test