Add FunctionHookDBIntegrationTest

Change-Id: I23e0840909a9561e5928590b2728716812608dbd