test case with profiles