fixed up test runner to work better with requirejs