Updating API unit and functional tests to new hacking standards

Global requirements has updating the version of hacking to a minimum of
0.9.2 and it has brought a whole slew of changes.

Change-Id: Ic294fbf95b01ca8186a4035b1365ce660bc4cee8
Merge "Updating API unit and functional tests to new hacking standards"