added easier way to handle task result
removed all cases of forced unwrapping
refactored tests to benefit from easy result access