Fix some bugs and run technical hook tests again