Implemented the test for the profile