Testing server requireJS in NodeJS