add test and build dot files