Fixed tentacles library (partially). Added some default hooks for the tests.