test excption on no config value being present