converted karma tests to ls