INT-60: added more tests for diff
improved printing of nodes