adding more array test and cast test