chore: fix init-deve script and test for validate-message

This should have been part of 81b271bd889daaa41780fbd6b091d99a8f59550e