Fix for failing jenkins test