Add phantom to karma tests