fix running tests standalone with local server