Reorder functions
Added tests for cache decorator
Removed unused function argument
Added testcase
Refactor: extracted test class with patch decorator
Added tests for memoize decorator
Refactor: use guard clauses
Return True and False instead of 1 and 0
Added tests for delete_cached
Added tests for delete_memoized