migration to karma runner test