Test for column major encoding