Add test for profiles.