Added profileTest

Added profileTest to API for testing the getting of the user's profile.