Fix testcase on OS X.
Add testcase for assigning to a bool bitfield.

The implicit != 0 seems to be missing.
Add testcases for composite types.