Add karma configuration and test files.