Fixed tests to work with CommonJS and Angular; fails on some browsers
Got test working everywhere except IE 9
Got basic test working on all browsers.