add usagetype parameter in encoder unit test to test screen content