rpc_tests: use BOOST_CHECK_EQUAL

Upon failure, BOOST_CHECK_EQUAL provides additional diagnostic information,
displaying that data that failed to match.
Merge pull request #4744