JavaScript unit test file

This file tests rectangle object from base/rectangle.js.