find inner attribute differences

As explained in issue #53, attributes of inner nodes are not (always) found. This change takes care of the test case.