tests: Allow alternative error code for backupkey test