move tests/* to demos/*, start using QUnit for unit test