Add mutex test.