Adding NTP server test code

adding NTP server test code
added the logic in configuration module