test.sh - a basic integration test