wrap OC_Hook into api class

These methods are depend of OC_Hook, so I don't how to write clean unit test for them. Any hints ? ;p