add unit test for AVHardwareAccelerationType