More tests.
Fix #23.