Finally an approach for thesingleton cache tha workd with unut tests