Add example runs and tests for each function
Add example runs and tests for each function