add more debug log for unit test