ENH: Added test for integer types

Added a test for the integer conversion bug