Configure Karma tests to run properly