Fix brightness test issue.