testing support

added assert.js with assertion functions, test.html to load test.js
which loads/runs the test scripts