Running tests if site dir is localhost