core.js ver1 and test