changed word repo to repository
deleted a space
edited tests to utilize mock