Add TestExecutor.
Main was rewritten to use Executor. Parameterization of Main to take one int argument - test repeat count.