tests: rewrite hwclock test