Fixed logback test case by moving logger context shutdown logic to the end of all tests. Otherwise, the rest of logging tests following the first one won't be able to write to their corresponding files.