Bug/mg/fix frontend tests