Added support for running tests with Karma