Unit tests work in progress.