Add profiles frontend unit tests