A test for integer validation in RestartOnFailure
make space for an integer test
Raise TypeError if not  int or None
Raise ConfigurationError when TypeError is caught