* Add unit tests and refactor some logic * Move integration tests to a separate file behind a build flag * Fix bugs in normalizeRepos * Address lint errors * Sort slices before comparing because order doesn't matter