initial unit test code added