In test_logpuzzle.py partially implement test_write_index_file()