As both ndb and im are components that may be disabled as well as the binaries...
As both ndb and im are components that may be disabled as well as the binaries may not exist. Look for
their binaries in a separate function and produce test casea failures for the test thet needs these components