test: check all the variables in Transform test

Before `gotBytes` was being checked 3 times in a row.
Closes #1.