moved and renamed test file to root
renamed database
bug fix: switched order for comparison in diffs, refactoring: replaced pop method with iteration, modularized generate_new_diffs