Add unit test to freeze sizes of DOM structs