Issue #2029493 by helmo: Fixed testBackendMethodPost fails on php 5.4.

My First drush pull request. Go Travis