Test for mutex