run elasticsearch only on localhost for tests