Replace generic assertion with a result specific assertion showing the correctness of the solution found. If the max weight parameter is exceeded, the least valuable UTXOs
are removed from the result. Therefore, only the most valued encountered UTXO's
are selected. While the smallest set would include all the most valued UTXO's
, in the case of the test there is one high value UTXO
that is never found before the target value is reached.
Correct the test comment to be more specific about why the assertion is a good result.