add tests for bool2httpd function