improve tests for run configuration