Fixes bug 971032 - Correctly pass the elasticsearch host to unit tests in jenkins.
Fixes bugs 971032 and 971919 - Fixed delay before failure in unit tests, fixed elasticsearch host everywhere.