Reviewed Additional Javascript Tests

@clarkbarz reviewed the javascript tests in pull request #128, which was requested in #127. 
I agree that it was tested poorly and made the changes on how it was arranged. I tried a few ways of making your way work instead of the event, but I don't think they will really work because there is no DOM in these tests. (test.create(), test.destroy())