Add encoding comment header to test file