This PR adds a very basic test for the signet miner script (contrib/signet/miner). It was based on #24553 (merged by now) which fixes a bug (and was also the motivation to write this test).
The test roughly follows the steps from https://en.bitcoin.it/wiki/Signet#Custom_Signet, except that the challenge key-pair is created solely with the test framework. Calibration is also skipped, the difficulty is simply set to the first mainnet target 0x1d00ffff
(see also https://bitcoin.stackexchange.com/a/57186).