Added angular-file-sort functionality to karma task
fixed some test issues