Fix httpd startup logic, add scripts/setup-test.sh