Added qunit
Added print of stack trace