Fixed tests in frontend.