Change Errors, FileHandler, tests

Added new errors. Added testdata.