Handle write-only properties and other fixes:
- create anon field and property instead of type
- tests verify exception info is correct
- test to verify complex type behaviour