added some test files. working on better error messaging