test for device plugin