Fixed share/update lock tests.