Fix #1002: Link test suite with toolsJS.
Merge pull request #1012 from gzm0/link-test-js

Fix #1002: Link test suite with toolsJS.