add missing test for bad argument passed to BooleanAttr
adding support for integer