Fix unit test.

Relates to issue #5