Added more tests, change requirejs to CLS style wrapper, failed attempt at getting phantomjs running