use requirejs to spec test