Expose more helpers for dealing with effects, in this case casts for subtypes
misc test updates
Merge branch '2.0' of github.com:iu-parfunc/lvars into 2.0