[PATCH 2/2] cmd/tests: Add test for TYPE redirection.