added hook config test