Each command in your lines of test code does a specific thing,
documented on its doc page. Those commands all have
outputs which you can output in a short test simulation, e.g. to
the screen or a dump file or another file. Hence you can
test your script lines, one line at a time and verify they
do what you expect. In other words, you can debug what
the script lines you are using. No one is better suited
to do it than you. You can normalize the output of one
command, by using it in a variable and using whatever
nomalization factor you want to use,