zen18402: Added some unit tests.