Add basic support for unit tests
Enable simple unit tests. As a start implement tests for self-contained parts, such as some functions in utils.js. Later tests for more modules can be added.
Enable simple unit tests. As a start implement tests for self-contained parts, such as some functions in utils.js. Later tests for more modules can be added.