add karma test
karma conf for testing