tests: adopt for hwtimer_spin_barrier

also clean out unneeded headers