Fix broken profile page test