MDL-52292 block testing generators: improve the API