test-lib.sh: set prerequisite SANITY by testing what we really need