added tests for phone validation cases
fixed deprecation and test for notification method
adds option to send a notification url