fix tests with new registry; update test targets; collect build files for dependencies into ym directory in build dir