Fix frontend test suite