fix phpunit global var drupal 7
postgres fix - last insert id
postgres fix - group by
typo error fix