Update empty functions older php version.  Unit tests