Stream sanity check