Adding coverage for the profile api