I don't understand this test, you're basically appending things to a list and checking if they were added. Shouldn't this test that the logger adds the debugs on its own?