If you are concerned about testing and using requirejs, I would suggest you have a look at the karma test runner, which works nicely with jasmine and requirejs. I have just recently integrated it into one of my projects and having a real-time execution of tests really boosts your productivity and confidence in your codebase.
See http://karma-runner.github.io