Improvements in frontend tests