configuring test environment with Karma