Added cast params test