Add test for cast function