Add frequency counter to unitest

Signed-off-by: Michael Buesch <m@bues.ch>
Fix autorun

Signed-off-by: Michael Buesch <m@bues.ch>