Upgrade test units to run with latest Karma

Running `npm install` failed with errors about Karma peer dependencies and test units would not run.

@oalami please review.