speed up management command tests by using a pregenerated key