tests: mock signature rather than using default_signature which might not be set in a fresh git install