FW-207. Fixing CoAP unit tests.