Edit device with invalid data test added, but not tested