Added GET, POST and PUT methods in API for SearchProfile
Added tests for Profile API queries and commands