JavaScript unit test file

This file tests common.js.