More asserts with protobufs