 				execGruntTask 'buildDebug', (err) ->
 					return done(err) if err
 
-					if !fs.existsSync './build/Debug/hello_world.node'
+					if !fs.existsSync __dirname + '/support/build/Debug/hello_world.node'
 						return done(new Error 'expected Debug/hello_world.node to exist')
 
 					done()

			execGruntTask 'default', (err) ->
				return done(err) if err

				if !fs.existsSync './build/Release/hello_world.node'
					return done(new Error 'expected Release/hello_world.node to exist')

				done()

			execGruntTask 'configureDebug', (err) ->
				return done(err) if err

				configGypi = fs.readFileSync __dirname + '/support/build/config.gypi', 'utf8'
				if configGypi.indexOf('"default_configuration": "Debug"') < 0
					return done(new Error 'expected config.gypi to be configured for debug build')

