tests for the -t=x  flag