Remove superfluous test for key.

Closes #28.