JavaScript unit test file

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