Solidity json interface tests

tests for #509