Improve repository and tests
Remove console print