[PATCH 17/21] test: Move time_ut test into lib