tweak default block toString method
Fix exception if option cannot be resolve
Fix deprecated test
Tweak composer.json