makes a Parser struct and adds a field for the number of bytes processed so far
removes generate tests