This is a (maybe silly) test for this pull request https://github.com/chtd/psycopg2cffi/pull/5 - this makes sense for all implementations, should I make a pull request to psycopg2 with such tests?