Add Memoizer tests for constructor with null directory passed