Truncate output in result message
Compare output by tokens
Handle case where token value is 0