Addressed gnarf's and evhan55's comments on the unit tests.
- use querySelector instead of querySelectorAll for ids
- remove unused setup/teardown functions
- use assert.isTrue and assert.isFalse instead of equal
- removed a conditional on adding event listeners
- move an assertion into a stub function to avoid a setTimeout