Adapted swctl tests to use sw_ops directly

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>