fix in chain manager and refactor tests
add console tester inside the bundle in Tests/app/