Adding qunit testing for frontend

r? @zaach