Some changes to the tests to use Logger rather than debugMessage().
Change from assert to assertTrue.
Merge cvs branch replication to cvs head.