Test for wrong values.

Closes #7.