test on postgressql