fix device mounting test