add reset! method to repo, add test