deadlock through hierarchical locks tested