tests: do not raise error if key is missing