Divide exp.js
Assigning sample function.
Fix test.