Fix frontend tests