setup karma test environment