Fixed QUnit tests

QUnit tests were broken as of change Iac8442d396e98ad529e88b91f063e7e130653d97.

Change-Id: Ic274d1f925bc5d15c480ad84ec2d54b04d0c588b