Created initial tests for main controller.
Adjusted call on getRepos to include param instead of internally using a param from a higher scope.
Commented out old/incomplete test so it owuld not be run and fail.
Adjusted function def to use passed param instead of one from a higher scope.
Updated test to confirm content of alert.