New tests.
Fixed #101.