tests on pg sync