tests: Add a test for fake mutexes