fixing single run on karma tests