Added initial test suite, working on data marshalling.