Fixing test to run on Jenkins