Fix device-test dependency