change unit test and add logger