Test for changing public_key and app_id values