Added testobject.js for object import testing. Updated demo.html to include basic switch tests