Add dpx encoding regression test.