Add functionnal tests for error cases (DELETE 404)

Change-Id: I1a7d935992badcddb0963fe60a73efaef5551fb5
Merge "Add functionnal tests for error cases (DELETE 404)"