Adding some Tests

Signed-off-by: Da Xue <dxue@dxue-pc.(none)>