dgram tests/improvements

Also requires https://github.com/tessel/firmware/pull/104. Should be ready now.
I'd actually prefer just an `int` status code and a `size_t` out pointer passed in, for consistency. Your thoughts?