Tweak _this to be self, and add tests

Tests the handling of the first data packet in the stream.