support for file based repos & fixed tests