Add testing files to the repository

Add the initial testing files to the repository
allowing testing to be carried out on all repos
Fix null pointer exception

Fix the null pointer exception when attempting to run the diff tool
without any tools saved.