Add sanity checks to test-all.sh