Add missing break
Fix input reversed with output
Improve tests
Release v2.0.1