Modified unit test to work around weird jenkins issue