Add bool validation and spec tests