Initial tests for run configuration.
Refactoring of run configuration.