Add a LICENSE
Fix JS test bug and add tests