[fix] check root key in node-spec
[refac] testpack config gathered to one array in build script
[fix] some compatibility issues