Test Purpose for Create of <cseBase> request
The following Test Purpose in TS-0018 tries to check that it is not possible to create resource as a child of existing resource. The CSE is expected to send 4005 (OPERATION_NOT_ALLOWED) as a response.
As per the recent changes in TS-0004, the OPERATION_NOT_ALLOWED response is not correct as the request processing by a CSE will never reach that point.
I suppose the correct error code for this scenario should INVALID_CHILD_RESOURCE_TYPE.