Added lock failure test.