fix tests that have no keys