Solve problem in test because accidentally remove a line of code.