- added test for onlineResource
- code improvement for phone and address tests