nested struct tests