Added tests setup for pytest-flakes
Improved tests setup file
Fixed error in requirements.txt