Re-Edit Edit function
- add comments for addFunctionTest