Test ABI for structures and reorganize tests a bit.