Added tests for profile page.