cym: finished the remaining edit cases
cym: finished all the edit profile testcases
cym: added the db check to the edit profile cases