Fixed an issue where the ReadNullTerminatedAsciiString method in
ByteStream was using the wrong position pointer to check for the end of
a stream.

Added unit tests to test for a missing null terminator in a byte
stream.