Rewrite `t/sizes` and `t/test` for `/bin/sh`.

Rewrote `t/sizes` and `t/test` to run in old-timey `/bin/sh` without
arrays.