test for mutex