fix testcases for losing Memory::Optional<> usage
fix testcases for losing Memory::Optional<> usage

SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika