Changed the testlog to only check for custom labels when they are going to be displayed.