Adding test - pg count sync
fix on pg sync