* updated test case with more checking.