finish unit tests for stageRunner caching and remove now unnecessary functions