test-lib.sh: Fix some shell coding style violations