Refocused encoding tests.