fixes & tests for FlatDiff
fixes, improvements and new tests for DeepDiff