add tests of -t and -at