You have to test on two different keys : `$key1` and `$key2`.