 	mundleWithRel : (test)->
 		test.expect 1
 		tieRequestToTest (request)->
-			test.equal request, 'http://test:1111/mundlejs/m/foo/0.0.0/bar.js?/b/bar/foo1.js=1&/m/foo1/1.1.2=1&/m/foo2/1.1.4=1', 'proper request should be formed'
+			test.equal request, '//test:1111/mundlejs/m/foo/0.0.0/bar.js?/b/bar/foo1.js=1&/m/foo1/1.1.2=1&/m/foo2/1.1.4=1', 'proper request should be formed'
 			test.done()
 		window.require 'foo/bar.js'
 		
 	mundleWithVersionAndRel : (test)->
 		test.expect 1
 		tieRequestToTest (request)->
-			test.equal request, 'http://test:1111/mundlejs/m/foo/1.1.1/bar.js?/b/bar/foo1.js=1&/m/foo1/1.1.2=1&/m/foo2/1.1.4=1', 'proper request should be formed'
+			test.equal request, '//test:1111/mundlejs/m/foo/1.1.1/bar.js?/b/bar/foo1.js=1&/m/foo1/1.1.2=1&/m/foo2/1.1.4=1', 'proper request should be formed'
 			test.done()
 		window.require 'foo@1.1.1/bar.js'
 	
 	mundlePreviouslyLoadedWithRel : (test)->
 		test.expect 2
 		tieRequestToTest (request, requestFn)->
-			test.equal request, 'http://test:1111/mundlejs/m/foo3/0.0.0?/b/bar/foo1.js=1&/m/foo1/1.1.2=1&/m/foo2/1.1.4=1', 'proper request should be formed'
+			test.equal request, '//test:1111/mundlejs/m/foo3/0.0.0?/b/bar/foo1.js=1&/m/foo1/1.1.2=1&/m/foo2/1.1.4=1', 'proper request should be formed'
 			requestFn.response = JSON.stringify 
 				err: null
 				results:

	mundlePreviouslyLoadedDifferentVersion : (test)->
		test.expect 1
		tieRequestToTest (request)->
			test.equal request, 'http://test:1111/mundlejs/m/foo1/1.1.3?/b/bar/foo1.js=1&/m/foo1/1.1.2=1', 'proper request should be formed'
			test.done()
		window.require 'foo1@1.1.3'
		
	mundlePreviouslyLoaded : (test)->
		test.expect 2
		tieRequestToTest (request, requestFn)->
			test.equal request, 'http://test:1111/mundlejs/m/foo2/0.0.0?/b/bar/foo1.js=1&/m/foo1/1.1.2=1', 'proper request should be formed'
			requestFn.response = JSON.stringify 
				err: null
				results:

	relative : (test)->
		test.expect 1
		tieRequestToTest (request)->
			test.equal request, '//test:1111/mundlejs/b/foo.js?=1', 'proper request should be formed'
			test.done()
		window.require './bar/../foo.js'
	
	absolute : (test)->
		test.expect 1
		tieRequestToTest (request)->
			test.equal request, '//test:1111/mundlejs/b/bar/foo.js?=1', 'proper request should be formed'
			test.done()
		window.require '/bar/foo.js'
		
	subFileRelative : (test)->
		test.expect 2
		tieRequestToTest (request, requestFn)->
			test.equal request, '//test:1111/mundlejs/b/bar/foo1.js?=1', 'proper request should be formed'
			requestFn.response = JSON.stringify 
				err: null
				results:
