oops - lock test was the wrong way around