tests run locally and on server