added wrong data type exception
added wrong datatype test