encoder: Document tests more; Updates #7