add get_profile_setting fn; add tests for commcare_settings