Test for bool defaults.
Fix bool defaults bug.

Closes #1