Updated header.di test to account for the nested function problem.