TDD with the Python pickle module