Added test to check if to_i method does in fact return an integer