Fixed broken Device Service Test Case