Updated tests for deadlock