fix frontend tests