Improve encoder bust test from 5f089d22.