FAILING delete device API test
Fixes bug in devices_controller - PASSING delete device API test