Add test to make sure ExtractProto serializes properly