Revises unit test function to be more oop.
Renames combine_dictionaries to combine_cursors and fixes it to return the proper output. Makes debug information more readable.