Added tests and started definition of psycopg class.