Finish up with encoding tests.