Add more testing
make a basic integration test for a full roundtrip