Adding NTP server test code

adding NTP server test code
Thanks for the input @psav . I have made the changes as suggested