Added test_cmem_alloc - does not work yet