reverse test for clarity
add copyright and license
add benchmark for comparison with ed