Updated documentation and unit tests for phone validation