If you write the commands interactively you see them always in the output file. Put the commands in a file (test.sql) and then call it either with "start test" or "@test".
If you don't want to see the output on the screen add "set termout off".