tests and introduce repository creation