New wallet tests have been added in the meantime and need to be updated to use `generate` instead of `setgenerate`.