wip karma/qunit testing