Added tests and production code for StringCasterImpl and IntegerCasterImpl