Add karma config and specs
Rename "test" to "tests"
Rename "test" to "tests" in karma.conf.js