Added @covers notations to UI Unit tests and added some more test functions. Part of #781
Added more test functions. Part of #781
Changed code so that claimTask route takes in taskId instead of a full task object
Remove commented out code that has been replaced in previous commit