Test collection lock