Getting tests running with python3.4 and postgresql 9.4