Add test for json parsing of DerivationResult.