add exception test

Signed-off-by: yuanhuan <yuanhuan@tcl.com>