added tests for the profile route