Add functionnal tests for error cases (PUT 404)

Change-Id: I2296bc34b90d048f31f99164a352e43e82b86bcc
Merge "Add functionnal tests for error cases (PUT 404)"