Use CITEXT and pgTAP extensions.