add additional tests
rename misspelled function name
extract diffattributes method
add test for attributes not in leafs