tests: fixed passthrough test

gotBytes was checked three times