Add more test cases.

Closes #1.