Add MemoryCollection and MemoryRessource for testing purposes