remove useless patches in unittests
handle deleting associated device in device.services
handle deleting associated device in device.validator
Merge branch 'missing-restapi-tests-2'