More easy tests
Refactor and test
Introduce compat
Ignore log and compat in coverage
Fixes and doc