add tests and fix symlink