Implement a write test for Locket.