Add log check to all test cases