Add unit tests for the functions and get coverage.
Add unit tests for the functions and get coverage.