add copyright to test.js
prepare for 1.0.0 release