Add nested struct tests