RPC username and password have to be different in tests
Adding test for JSONToAmount and AmountToJSON