Test general case for num_cores command failing

Signed-off-by: Kris Kelly <kkelly@pivotallabs.com>