loci: decide members to ignore in tests using the IR

Reviewer: @andi-bigswitch

This prevents the test from trying to set type members.