add a cast test case