added qunit-testing framework and wrote the first basic test in test/javascripts, as well as changed updateModule's constructor to be more testable