adding pg tests