Added QUnit tests for backbone code.