Made a slight change toi the function that saves to repo. Added tests.
Merge
Fixed a bug in the tearDown for testViewer
Made the save tests more robust
Fixed save bug
Merge pull request #39 from jb098/save_tests

Save tests