Add UT for Downsample functions.

the review request is https://rbcommons.com/s/OpenH264/r/775/