Test grid-master encoding.