[build] add version validator
[fix] validate versions before building
[fix] validate version before testing
[chore] test as default task