added a test get call to /devices/:name