test basic memory allocation