@Test
public void smokeTest() {
Random rnd = new Random();
int size = rnd.nextInt(10) * (int)MemoryManager.capacity() / 100;
logger.info("payload size=" + Ram.inKb(size));
Pointer p = MemoryManager.store(new byte[size]);
logger.info("stored");
assertNotNull(p);
assertEquals(size,p.end);
assertEquals(size, MemoryManager.activeBuffer.used());
MemoryManager.free(p);