fix bugs, new tests

add a new mock token manager for testing
new test for hook server perform of custom handler
showing the automatic hook=> false
fix misunderstanding of how the options thing works in podio