add tests for 'bool' type and fix bug causing bools to always be 'true'

I also checked haskell's postgresql driver and psycopg2's driver, and both
of them also only expect the values for bool to be of the form 't' and 'f'