Update description
Add tests
Fix EOL bug
Fix "no blocks" bug