add lib tests for syncronizing repos