Added QUnit tests

Included Qunit and Sinon libraries in the project, created tests for
controllers using QUnit and sinon spies