[tests] Remove compiler warnings for unit tests
[tests] Remove compiler warnings for unit tests

warning: equality comparison result unused [-Wunused-comparison]
  BOOST_CHECK_THROW(v8 == v10, value_error);
                    ~~~^~~~~~

duncanmortimer/ledger,afh/ledger,duncanmortimer/ledger,paulbdavis/ledger,paulbdavis/ledger,ledger/ledger,paulbdavis/ledger,afh/ledger,ledger/ledger,paulbdavis/ledger,paulbdavis/ledger,afh/ledger,paulbdavis/ledger,duncanmortimer/ledger,duncanmortimer/ledger,paulbdavis/ledger,duncanmortimer/ledger,ledger/ledger,ledger/ledger,duncanmortimer/ledger,ledger/ledger,duncanmortimer/ledger,afh/ledger,afh/ledger