Add struct assignment test