run server side tests in a mirror / refactor