Fix unit test
Fix unit test, add unit test on assign.js