add happy-path test
fix tests after refactoring of extension
add test-case
improve test-coverage