Updated specs to explicitly check for boolean values. [ci skip]