Adding tests for invalid data types with integers

Change-Id: I1a07fcee64c059d3598ad9e824ae95068343e34a