handle null cases for if tests have run or not