Add karma test runner.
Add testing docs.
Add test command to package.json