added tests for cbor_stream_decode and multiple encode functions