Fixed typo.
Revised unit tests.