Add another HEVC test, clean up some existing code.