Patched version of hacking library

updated version of hacking library for tests

Change-Id: I90dbded90f7bae03b9087c910ce542c2b3642da4