api: added tests related to memory set on app creation.