adding the test for profile