partial unit test preparatory work.