Fix date formatting issue.
Added qunit-fixture.
Updated tests to work with DOM.