add test cases for UselessInstanceLogger