Test for some cases.