Set Karma's single-run to be false, which allow the unit-test to run in the background continously