Testing pypy again, PostgreSQL tests, sqlite fix.

Everything works fine with pypy, it was another problem that I've
already fixed in the last commit.

Testing against postgres, fixed a bug regarding it.

Fixed SQLite tests, was creating two sqlite databases before.