tests: Fixed pixel classification 'headless' test.