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