Add lock manager tests.