Added Host API unit tests; api unit tests now encode/decode results to JSON first; updated key check unit tests
Release v2.0.0-391