Completed unit test code. Checks if the same files are in each output
directory and its corresponding test case directory. Compares contents
based on canoncicalized xml.