Add test/karma and test/karma-run scripts