Add partial test

only pos.js and error.js
Add requirements