Fixed failing test on jenkins master. No need to backport this to develop.