Add comment and remove unnecessary log output
Improve test case