Fixed tests to cater for irrational quirks of IE8
Built initial tests for all the elements.js methods
Merge pull request #22 from SamMorrowDrums/elementsTests

Created tests for elements.js methods.