Some half-broken tests. Acquiring locks for multiple files doesn't seem
to work correctly.