Shell compatibility w/ test.sh

Made test.sh compatible with non-bash and non-mac environments (no expectation of `xcode-select` to exist). Small documentation tweaks in readme and contributing doc.