edge cases fix
Extracted test target to a new project.
Shold run from command line and teamcity