refactor(test.sh): Simplify test.sh