Make sure the log saved into log collection as an error level log
Drop test database after run the test