Make tests work on my local machine ;)

This is kind of a stupid PR, since tests run on travis.
They were however not running on mine, and this fixed it:

Solves issue with a racecondition issue on table cleanup after a sync test (adding setTimeouts fixes it).
Solves issue with my local postgres install not returning the same error message as others? (Might be an issue for others)