Updated the small sample file with oid
Added changes allowing this script to be called by the unit test scripts: Added error checking and using script directory to find data dir instead of relying on pwd
Implemented Unit Test and made changes to the HTML to allow for testing