Migrate the RetrieveRunInfoTest to new api


re #7844
Merge branch 'feature/7844_migrate_retrive' into develop