Trying a fix for the unit test which is passing locally but failing on Jenkins.