Unit tested handle_bool