Add devices API test cases;