Add qunit tests for knockout viewmodel