add test for phone directive, add phone directive, edit template for edititng contact