Add tests for focusing

Signed-off-by: xiaojunwu <xiaojunx.a.wu@intel.com>