setup test environment. connect mounts dirs, so src in index.html are relative