Fixed to tests for filename for malloc:// uri