Bug/mg/fix frontend tests

thanks! and a stupid mistake too ^^