improving test to use local repo