event/sw: move test to driver