[+] add test for MakeDiff
[*] refactoring