QUnit tests

- [ ] Basic tests
- [ ] DOM tests