Added comparison of file contents in test