fix callbacks and add missing spec [fix #682]
Merge pull request #683 from guard/fix_hooker_error

fix callbacks and add missing spec [fix #682]