[server][tools][test] Support running tests without cd