Update test.
Fix. Use `static` modifier for library mutex.