add test for sizeof class