Fix travis after merging #5957
New wallet tests have been added in the meantime and need to be updated to use generate instead of setgenerate.