Add testing to improve code coverage rate
Fixed incorrect testing data.
Add test for remove log file