Moved tests to karma