made tests to be passed as functions
fixed duplicate call to arguments
removed duplicate assignment
added first single tests
quick cleanup and refactoring
made tests pass test name into log function
made tests.html reload automatically
removed debugging
fixed handleArray to return an array of HtmlDomElements