Add "reassemble" with a small test input and a simple test input generator.