title: What is the proper method to add tests to modernizr?
body: <p>The test already exists in the github repo, but when I try to include it on my page I get an error, so I'm not sure how I need to include it in my document. In my html <code>&lt;head&gt;</code> tag I link the modernizr script and then link to the test I am adding:</p>
  
  <pre><code>&lt;script src="js/modernizr-2.5.3-min.js"&gt;&lt;/script&gt;
  &lt;script src="js/css-pointerevents.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p><a href="https://github.com/Modernizr/Modernizr/blob/master/feature-detects/css-pointerevents.js" rel="nofollow">css-pointerevents.js</a></p>
  
  <p>When I load the page now I get a javascript error: <code>Uncaught TypeError: Object #&lt;Object&gt; has no method 'addTest'</code> which must be a reference to the first line of css-pointervents.js (<code>Modernizr.addTest('pointerevents', function(){</code>)</p>