tests: fix several issues
The tests generates a new build key for each test, and require sudo / doas to be available, which is not the case on builders.
Edited by Kevin Daudt
The tests generates a new build key for each test, and require sudo / doas to be available, which is not the case on builders.