lib.test runs pre/post.sh if found.