Refactoring of RunConfiguration, added test setup to test configuration