migrate to spm@2.x
merge
update package.json
fix test