t/helper: merge test-ctype into test-tool