Tests refactoring

I've moved blocks and variables into G8RecognitionTestsHelper. I think now it looks more clear.