added basic QUnit tests for main and router modules