diff --git a/test/ipv6-addresses-test.js b/test/ipv6-addresses-test.js
index <HASH>..<HASH> 100644
--- a/test/ipv6-addresses-test.js
+++ b/test/ipv6-addresses-test.js
@@ -1,10 +1,8 @@
-require.paths.push('..');
-
 var fs = require('fs'),
     vows = require('vows'),
     assert = require('assert');
 
-var v6 = require('ipv6').v6,
+var v6 = require('../ipv6').v6,
     BigInteger = require('../lib/node/bigint');
 
 /* Fails if the generated regular expression doesn't validate */
diff --git a/test/ipv6-test.js b/test/ipv6-test.js
index <HASH>..<HASH> 100644
--- a/test/ipv6-test.js
+++ b/test/ipv6-test.js
@@ -1,11 +1,9 @@
-require.paths.push('..');
-
 var fs = require('fs'),
     sprintf = require('sprintf').sprintf,
     vows = require('vows'),
     assert = require('assert');
 
-var v6 = require('ipv6').v6,
+var v6 = require('../ipv6').v6,
     BigInteger = require('../lib/node/bigint');
 
 // A convenience function to convert a list of IPv6 address notations
Fixing tests so they'll run under Travis CI