Added tests and hooks for developper
Fixed syntax warning and doctest failure
issue #21 Add option skipinrebase