Fixed some issues with Contact-Phones relation. Added few tests for phoneDao.