fix return value of numeric tests