testing/app: implemented get memory.
docker: added a test to check that memory is defined from app.GetMemory.