Add a simple lock-unlock test