Move test suite to karma