Add tests infrastructure

I wanted to do some refactoring in do_test_parse_ntp_range() (not included in this branch) but wasn't comfortable doing so without proper unit tests. So I wrote some boilerplate adding tests infrastructure and a couple of simple tests for do_test_parse_ntp_range().