adds tests for profile page