fixed bug for anon subs in data structures, test source updated