Add test for `key` descent strategy.

Closes #251.