modify to device test.