[log] Fix graph tests: implement SimpleHash#equals