karma tests UT,Midway,E2E