UniValue tests: use BOOST_CHECK() for boolean conditions