Added fix for Jenkins to run test