First, select a test framework.
Jasmine seems to be a candidate https://github.com/SteveSanderson/knockout/pull/718
https://github.com/theintern/intern seems to be newest.