AMD-compatible unit-testing tool for JavaScript