Added cast test