Changed fn declaration order.
Added test for int reading a string.