Add unit test for mtx_trylock
Fix typo in struct name.