fixed a typo in unit test, and made boolean options default to false ins...

...tead of null. added bool unit test