update the mutext test,fix the wrong condition init