Add tests for boolean validator