separate test target identification from test target execution (prepare further refactoring to extract part reusable in junit adapter)