fix test of struct size