Update setup.sh and setup utilities for basic tests.