add test cases for sys_sem data structure. Fixes: #15139. Signed-off-by: Wentong Wu <wentong.wu@intel.com>