12 more test cases from Bo.

Signed-off-by: Bo <fb8fb8@gmail.com>