Refactored longTest() to use an std::istream instead of hard-coding
std::cin.
Decouple executor from TestCase.
Moved local functions to the anonymous namespace.
Extracted Executor to its own file.
Moved local function to the anonymous namespace.