Yup I will add the test soon. But as this code is only for very special cases where expr is Boolean, I thought the import would be better off done only if is_Boolean is True.