key handling in tests