Refactor frontend to toggle tests per language.