add a serializer and a parser test (doesn't fully work yet)