Memoize returns the output from the function it decorates if the function runs.
Added unit tests for the updated decorators.