Add some tests for inhibit locks