added test files and restructured update; dotfile check needs some love