CLDIDE-2162 Added tests for memory utils