Replace harcoded condition in tests bounded to the ci URL.
Merge pull request #3 from mrebasti/test-errors

Replace harcoded condition in tests bounded to the ci URL.