Removed test for set_hooks() method, because its scope is set to "protected"