wrote tests: when_create_memory_container.c