test nonzero return