Add 'with' method to mutex
Add mutex test