Added test for string casting.