[PATCH v2 4/7] selftest: sync: wait tests for sw_sync framework