Frontend js test tweaks