Add test for monetary value parsing

Continuation of #3133.
Add just-in-case sanity test for JSON spirit parsing and AmountFromValue.
Also update rpc_format_monetary_values test to use ValueFromAmount, so that ValueFromAmount is also tested.