Tests for dump file management

* Extensive code for mocking Web and file access
* Use Mockito to mock BufferedReaders etc.
* Auxiliary resource files to use for mocking
* Actual tests
* Some simplifications in file structures