Memoize function for functions
Tests for memoize functionality
Solved problem with cached, classes and default parameters
Tests for cached method