Testing Infrastructure

Implemented some testing files to check the proper use of classes in
javascript.