Add test for profile edit. Add mocha module.