[fix] some tests fail occasionally on postgres
Merge pull request #183 from tkrille/fixing-tests

[fix] some tests fail occasionally on postgres