tests rec bool functions