more tests for logs and locks