Added a sample test tool (works only with PostgreSQL at the moment)