generic: fix default device test, fix LIB-60