Add test for []byte marshalling