Remake searching of troubles
Add test files to the project