stream reseting and skipping to bytes for independent testing made easier