Fixed test for release write lock