Added TypeExceptionTest