Initialize the full nvme_namespace structure in prepare_for_test() so that e.g. ns->id is not used uninitialized. Also check for request allocation failure - if the request is NULL, we can't run the rest of the tests that dereference request without crashing. Change-Id: I3010ca3e81f153a4d0201498a14a963c2b9e960d Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>