Fixing a bug around the usage of data-ref="some-id", adding tests and adding tests.js into the jshint ant task