Added tests for caching, updated __new__, new type of caching (multiple references to one objects), ...