add test cases for ntp_peer.cpp

add tests for ntp_peer.cpp, for peers operations functions.