[PATCH v3 1/2] cmd/tests: Add test to check for TYPE truncation in binary mode.