Removed unused behaviour
Added tests to ensure that we catch the type conversion errors from command line argument, environment variables or config files