add mock test for REST `/v1/time` API
add a test for faulty `/v1/time` call
add test for json validator