Improve BU dir check.
Consistently set last lumi section for LS with files, only.
More test cases migrated
Improve some checks.
Migrate the cycleStates cases