Setup of karma.And first test for the main controller.