fixes #215 Testing the hook